Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More surrounding chars to trim when gf #10157

Closed
wants to merge 1 commit into from

Conversation

Luv-Ray
Copy link
Contributor

@Luv-Ray Luv-Ray commented Apr 4, 2024

Add <>, [], {} to trim when call gf, so that gf on <https://github.com/helix-editor/helix> will open the link rather than open a file.

Also check the pair matching to prevent one side trimming.

@kirawi kirawi added the A-command Area: Commands label Apr 4, 2024
@the-mikedavis
Copy link
Member

Closing in favor of #9065 which is a larger refactor of this block (and removes the surrounding pair logic)

@TornaxO7
Copy link
Contributor

TornaxO7 commented Apr 6, 2024

peepoBearBlush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants